package com.vehicle.auto.click.model;

import java.io.Serializable;
import java.util.List;

public class UiVehicleInfo implements Serializable {
    private Integer passNum;
    private Integer noPassNum;
    private List list;

    public Integer getPassNum() {
        return this.passNum;
    }

    public Integer getNoPassNum() {
        return this.noPassNum;
    }

    public List getList() {
        return this.list;
    }

    public void setPassNum(final Integer passNum) {
        this.passNum = passNum;
    }

    public void setNoPassNum(final Integer noPassNum) {
        this.noPassNum = noPassNum;
    }

    public void setList(final List list) {
        this.list = list;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof UiVehicleInfo)) {
            return false;
        } else {
            UiVehicleInfo other = (UiVehicleInfo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$passNum = this.getPassNum();
                    Object other$passNum = other.getPassNum();
                    if (this$passNum == null) {
                        if (other$passNum == null) {
                            break label47;
                        }
                    } else if (this$passNum.equals(other$passNum)) {
                        break label47;
                    }

                    return false;
                }

                Object this$noPassNum = this.getNoPassNum();
                Object other$noPassNum = other.getNoPassNum();
                if (this$noPassNum == null) {
                    if (other$noPassNum != null) {
                        return false;
                    }
                } else if (!this$noPassNum.equals(other$noPassNum)) {
                    return false;
                }

                Object this$list = this.getList();
                Object other$list = other.getList();
                if (this$list == null) {
                    if (other$list != null) {
                        return false;
                    }
                } else if (!this$list.equals(other$list)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof UiVehicleInfo;
    }

    public int hashCode() {
        int result = 1;
        Object $passNum = this.getPassNum();
        result = result * 59 + ($passNum == null ? 0 : $passNum.hashCode());
        Object $noPassNum = this.getNoPassNum();
        result = result * 59 + ($noPassNum == null ? 0 : $noPassNum.hashCode());
        Object $list = this.getList();
        result = result * 59 + ($list == null ? 0 : $list.hashCode());
        return result;
    }

    public String toString() {
        return "UiVehicleInfo(passNum=" + this.getPassNum() + ", noPassNum=" + this.getNoPassNum() + ", list=" + this.getList() + ")";
    }
}
